Batch 3 - Class 118 - Swapping Hats, Facebook Friends

Pre-Class Problem:

Attendance: Nandini, Aneyaa, Khushi, Anshi, Ahana, Palak, Arnav, Damini, Siddhant, Arnav, Anishka, Zorawar, Liza, Diya

Class Notes:

Swapping Hats (Dudeney - 236)
Ten hats were hung on pegs as shown in the illustration below - five silk hats and five felt hats. Two pegs at the end of the row are empty.
You have to remove two contiguous hats and place them in the same order on the two empty pegs. Repeat this process till the hats again hang in an unbroken row, but with all the silk hats together and all felt hats together.

Swapping Kids (Dudeney - 237)
Now lets assume there are eight boys and girls are sitting as illustrated below.
You have to remove two contiguous kids and place them on the empty chairs, but in reverse order relative to how you picked. Repeat the process till you can get all the boys together and all the girls together, with two vacant chairs at one end.

Facebook Friends
What is the least number of people on facebook, so that there are at least three people who are all friends of each other, or none of the three are friends with each other


The picture below shows all the 78 possible friends-stranger graphs with 6 nodes. For each graph, the triplet is shown.

Homework

Two people have asked you out for a date and you've decided to decide who to go with by flipping a coin. The problem is that the only coin you have is biased: you know that heads comes up with a probability of 0.75 rather than 0.5 as is the case with a fair coin. However, you do really want each of the two people to have a fair chance of being picked. Using a combination of two coin flips instead of one, can you find a way of making the random decision fair?(Hint: the chance doesn't have to be 50:50.)

References:
https://www.quantamagazine.org/the-overhang-puzzle-20161117/
https://ia902701.us.archive.org/4/items/AmusementsInMathematicspdf/AmusementsInMathematics.pdf - Dudeney
https://www.youtube.com/watch?v=xdiL-ADRTxQ
https://plus.maths.org/content/be-fair